package projbd;

import java.math.BigInteger;

public class OrderSizeNumSchemeNode {
        
    private int pk;
    private String path;
    private String attributes;
    private String value;

    private BigInteger order;
    private BigInteger size;
    
    private BigInteger currentSonOrder;
    private BigInteger currentSonSize;
    private BigInteger firstSonOrder;

    
    public OrderSizeNumSchemeNode() {
        
    }
    
    public OrderSizeNumSchemeNode(String value, int pk, String path, BigInteger order, BigInteger size, BigInteger currentSonOrder, BigInteger currentSonSize) {
        this.value = value;
        this.pk = pk;
        this.path = path;
        this.order = order;
        this.size = size;
        this.currentSonOrder = currentSonOrder;
        this.currentSonSize = currentSonSize;
    }

    public void setFirstSonOrder(BigInteger firstSonOrder) {
        this.firstSonOrder = firstSonOrder;
    }
    
    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public BigInteger getFirstSonOrder() {
        return firstSonOrder;
    }
    
    public void setAttributes(String attributes) {
        this.attributes = attributes;
    }

    public String getAttributes() {
        return attributes;
    }
    
    public String getPath() {
        return path;
    }

    public int getPk() {
        return pk;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public void setPk(int pk) {
        this.pk = pk;
    }
    
    public BigInteger getCurrentSonOrder() {
        return currentSonOrder;
    }

    public BigInteger getCurrentSonSize() {
        return currentSonSize;
    }

    public BigInteger getOrder() {
        return order;
    }

    public BigInteger getSize() {
        return size;
    }

    public void setCurrentSonOrder(BigInteger currentSonOrder) {
        this.currentSonOrder = currentSonOrder;
    }

    public void setCurrentSonSize(BigInteger currentSonSize) {
        this.currentSonSize = currentSonSize;
    }

    public void setOrder(BigInteger order) {
        this.order = order;
    }

    public void setSize(BigInteger size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return "Node: " + value 
                + "\n - order: " + order 
                + "\n - size: " + size;
    }

    
}
